package com.web.activiti.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * 用于封装shiro登录信息的实体类
 */
public class ActiveUser implements Serializable {
    private long id;
    private String userid;
    private String usercode;
    private String username;
    private Long managerId;

    private List<SysPermission> menus;//菜单
    private List<SysPermission> permissions;//权限
    private List<TreeMenu> menuTree;

    public long getId () {
        return id;
    }

    public void setId (long id) {
        this.id = id;
    }

    public String getUserid () {
        return userid;
    }

    public void setUserid (String userid) {
        this.userid = userid;
    }

    public String getUsercode () {
        return usercode;
    }

    public void setUsercode (String usercode) {
        this.usercode = usercode;
    }

    public String getUsername () {
        return username;
    }

    public void setUsername (String username) {
        this.username = username;
    }

    public Long getManagerId () {
        return managerId;
    }

    public void setManagerId (Long managerId) {
        this.managerId = managerId;
    }

    public List<SysPermission> getMenus () {
        return menus;
    }

    public void setMenus (List<SysPermission> menus) {
        this.menus = menus;
    }

    public List<SysPermission> getPermissions () {
        return permissions;
    }

    public void setPermissions (List<SysPermission> permissions) {
        this.permissions = permissions;
    }

    public List<TreeMenu> getMenuTree () {
        return menuTree;
    }

    public void setMenuTree (List<TreeMenu> menuTree) {
        this.menuTree = menuTree;
    }
}
